//
//  NSURL+FK.m
//  智慧水利平台
//
//  Created by Macbook Pro on 2020/11/16.
//  Copyright © 2020 jxwdyf. All rights reserved.
//

#import "NSURL+FK.h"

@implementation NSURL (FK)

+ (NSURL *)fk_URLWithString:(NSString *)string
{
    return [NSURL URLWithString:[string stringByAddingPercentEncodingWithAllowedCharacters:[NSCharacterSet URLQueryAllowedCharacterSet]]];
}

- (NSURL *)fk_URLWithString:(NSString *)string
{
    return [NSURL URLWithString:[string stringByAddingPercentEncodingWithAllowedCharacters:[NSCharacterSet URLQueryAllowedCharacterSet]]];
}

@end
